-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TSVB] Replace deprecated moving_avg by moving_fn aggregation #36624
[TSVB] Replace deprecated moving_avg by moving_fn aggregation #36624
Conversation
💔 Build Failed |
src/legacy/core_plugins/metrics/public/components/aggs/moving_average.js
Outdated
Show resolved
Hide resolved
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
💚 Build Succeeded |
src/legacy/core_plugins/metrics/public/components/aggs/moving_average.js
Show resolved
Hide resolved
src/legacy/core_plugins/metrics/public/components/aggs/moving_average.js
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/metrics/public/components/aggs/moving_average.js
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/metrics/public/components/aggs/moving_average.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please review comments
💔 Build Failed |
💔 Build Failed |
…/kibana into replace-moving_avg-aggregation
💔 Build Failed |
💔 Build Failed |
💚 Build Succeeded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last minor thing to change and it's good to merge
💚 Build Succeeded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, tested locally!
💚 Build Succeeded |
💚 Build Succeeded |
#39275) * Take model options away in a separate file * Connect user scripting to models * Add inputs to the panel for managing alpha, beta, gamma params * Cover model types and scripts by tests * Change default export of the bucket transform to the permanent one and write tests for moving_average * Add a migration script from mov_avg to mov_fn * Remove redundant translations * Remove old tests * Fix issues of PR * Revert yarn.lock * Fix issues regarding localization * Remove extra license * Remove redundant translations * Move the replaceMovAvgToMovFn hook to 7.3.0 * Fix reviews * Add a migration test * Set proper default values and turn hint on for holt-winter only * Format touched files by Prettier * Import settings from moving_avg * Wrap changes to the try/catch statement and log exceptions
Fix: #36520
Summary
The part of the 24702 story.
The changes replace Moving Average Aggregation by the Moving Function Aggregation
A previous view:
A following view:
Previous params:
Following params:
Following differences for existing visualizations
Settings for
Exponentially weighted
,Holt-Linear
,Holt-Winters
models are partially affected. It means thatalpha
,beta
,gamma
,period
have been reseted to default values.Checklist